home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / interapplication comm / menuscripter / sources / msglobals.c < prev    next >
Encoding:
Text File  |  2000-06-23  |  1.4 KB  |  61 lines

  1. // MSGlobals.c
  2. //
  3. // Original version by Jon Lansdell and Nigel Humphreys.
  4. // 4.0 and 3.1 updates by Greg Sutton.
  5. // ©Apple Computer Inc 1996, all rights reserved.
  6.  
  7. /*
  8.     Changes for 3.1:
  9.     
  10.         12-Oct-95    : CW : Added Metrowerks condition for "qd" definition.
  11.                            Added gHasDragManager flag, gDragTrackingHandlerUPP and
  12.                            gDragReceiveHandlerUPP Drag Manager UPPs (all globals).
  13.  
  14.     Changes for 4.0:
  15.     
  16.         29-Feb-96    : GS : Added gAppRec which holds the script and FSSpec
  17.                             information for the application
  18. */
  19.  
  20.  
  21. #define __COMPGLOBALS__
  22.  
  23. #include "MSGlobals.h"
  24.  
  25.  
  26. #if !defined(THINK_C) && !defined(__MWERKS__) // These declares "qd" in their runtime
  27.     QDGlobals       qd;
  28. #endif
  29.  
  30. AppRec        gAppRec;
  31.  
  32. short        gNewDocCount;
  33. MenuHandle    myMenus[kLastMenu+1];
  34. short        gFontMItem;
  35. Boolean        gQuitting;
  36. Cursor        editCursor;
  37. Cursor        waitCursor;
  38. Boolean        gInBackground;
  39.   
  40.   // now for the environment variables set up by Gestalt
  41.   
  42. Boolean        gGestaltAvailable;
  43. Boolean        gAppleEventsImplemented;
  44. Boolean        gAliasManagerImplemented;
  45. Boolean        gEditionManagerImplemented;
  46. Boolean        gOutlineFontsImplemented;
  47. Boolean        gRecordingImplemented;
  48. Boolean        gHasDragManager;        // Is the Drag Manager available?
  49. Boolean        gGXIsPresent;
  50. Boolean        gHasProcessManager;
  51.  
  52.  
  53. ControlActionUPP        gHScrollActionUPP;
  54. ControlActionUPP        gVScrollActionUPP;
  55. UserItemUPP                gDefaultButtonUPP;
  56. DragTrackingHandlerUPP    gDragTrackingHandlerUPP;
  57. DragReceiveHandlerUPP    gDragReceiveHandlerUPP;
  58.  
  59.  
  60.  
  61.